﻿<Window x:Class="EAWpfSample.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:EAWpfSample="clr-namespace:EAWpfSample" Title="MainWindow"
        Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="20" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Margin="1" Text="{Binding DateTime}" TextAlignment="Center" VerticalAlignment="Center" />
        <Button Grid.Row="1" Width="90" Margin="1" Command="{Binding DoWorkCommand}" Content="Do Work" />
        <EAWpfSample:ProgressControl Grid.Row="2" Margin="1" />
    </Grid>
</Window>